//
//  AppDelegate.swift
//  weibo002
//
//  Created by mac on 10/18/15.
//  Copyright © 2015 mac. All rights reserved.
//

import UIKit

@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate {

    var window: UIWindow?
    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject : AnyObject]?) -> Bool {
        setupAppearance()
        window = UIWindow(frame: UIScreen.mainScreen().bounds)
        window?.backgroundColor = UIColor.whiteColor()
        window?.rootViewController = MSMainTabBar()
        window?.makeKeyAndVisible()
        return true
    }
    
    private func setupAppearance(){
        UINavigationBar.appearance().tintColor = commonColor
        UITabBar.appearance().tintColor = commonColor
    }

}

